package com.carey.yygh.cmn.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.carey.yygh.model.cmn.Dict;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
* @author carey-
* @description 针对表【dict(组织架构表)】的数据库操作Service
* @createDate 2022-05-11 20:05:47
*/
public interface DictService extends IService<Dict> {

    List<Dict> findChildDate(Long id);

    boolean isChild(Long id);

    void exprotData(HttpServletResponse response);

    void importData(MultipartFile file);

    String getName(String dictcode, String value);

    List<Dict> finByDictCode(String dictCode);
}
